[INFO] cloning repository https://github.com/zmarlon/maga
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zmarlon/maga" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzmarlon%2Fmaga", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzmarlon%2Fmaga'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9e2f14c42b56e99a7f93c701974227bdb93179fc
[INFO] checking zmarlon/maga against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzmarlon%2Fmaga" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zmarlon/maga
[INFO] finished tweaking git repo https://github.com/zmarlon/maga
[INFO] tweaked toml for git repo https://github.com/zmarlon/maga written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zmarlon/maga on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zmarlon/maga already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded logos-derive v0.14.0
[INFO] [stderr]   Downloaded llvm-sys v181.1.0
[INFO] [stderr]   Downloaded logos-codegen v0.14.0
[INFO] [stderr]   Downloaded logos v0.14.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d432e2e8528174b1897887368398166a7cb59d0817c05bc2d781052b965770d7
[INFO] running `Command { std: "docker" "start" "-a" "d432e2e8528174b1897887368398166a7cb59d0817c05bc2d781052b965770d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d432e2e8528174b1897887368398166a7cb59d0817c05bc2d781052b965770d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d432e2e8528174b1897887368398166a7cb59d0817c05bc2d781052b965770d7", kill_on_drop: false }`
[INFO] [stdout] d432e2e8528174b1897887368398166a7cb59d0817c05bc2d781052b965770d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38ba9730e0b0a3d0e6683263827cabeed51681ddd702cb9d69740cfb25088c5a
[INFO] running `Command { std: "docker" "start" "-a" "38ba9730e0b0a3d0e6683263827cabeed51681ddd702cb9d69740cfb25088c5a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling cc v1.1.6
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling llvm-sys v181.1.0
[INFO] [stderr]    Compiling logos-codegen v0.14.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling logos-derive v0.14.0
[INFO] [stderr]     Checking logos v0.14.0
[INFO] [stderr]     Checking maga v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Context` and `Module`
[INFO] [stdout]  --> src/main.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::generation::{CodeGenContext, Context, Module};
[INFO] [stdout]   |                                         ^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CodeGenContext` and `Module`
[INFO] [stdout]  --> src/generation/expressions/constant.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::generation::{CodeGenContext, CodeGenError, Module};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Function`
[INFO] [stdout]  --> src/generation/expressions/constant.rs:3:66
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::parser::{ConstantExpression, ConstantExpressionValue, Function, Type};
[INFO] [stdout]   |                                                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout]   --> src/generation/type_registry.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::fmt::Display;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LiteralType`
[INFO] [stdout]  --> src/parser/assignment.rs:3:52
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::parser::{CompileError, FromTokenStream, LiteralType};
[INFO] [stdout]   |                                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LiteralType`
[INFO] [stdout]  --> src/parser/expression.rs:2:52
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::parser::{CompileError, FromTokenStream, LiteralType};
[INFO] [stdout]   |                                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Element`
[INFO] [stdout]  --> src/parser/scope.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::parser::{CompileError, Element, FromTokenStream};
[INFO] [stdout]   |                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `scope::*`
[INFO] [stdout]   --> src/parser/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use scope::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Module`
[INFO] [stdout]  --> src/main.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::generation::{CodeGenContext, Context, Module};
[INFO] [stdout]   |                                         ^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CodeGenContext` and `Module`
[INFO] [stdout]  --> src/generation/expressions/constant.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::generation::{CodeGenContext, CodeGenError, Module};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Function`
[INFO] [stdout]  --> src/generation/expressions/constant.rs:3:66
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::parser::{ConstantExpression, ConstantExpressionValue, Function, Type};
[INFO] [stdout]   |                                                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout]   --> src/generation/type_registry.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::fmt::Display;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LiteralType`
[INFO] [stdout]  --> src/parser/assignment.rs:3:52
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::parser::{CompileError, FromTokenStream, LiteralType};
[INFO] [stdout]   |                                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LiteralType`
[INFO] [stdout]  --> src/parser/expression.rs:2:52
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::parser::{CompileError, FromTokenStream, LiteralType};
[INFO] [stdout]   |                                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Element`
[INFO] [stdout]  --> src/parser/scope.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::parser::{CompileError, Element, FromTokenStream};
[INFO] [stdout]   |                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `scope::*`
[INFO] [stdout]   --> src/parser/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use scope::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/generation/util.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     static ref ADD_MAP: HashMap<String, fn(LLVMBuilderRef, LLVMValueRef, LLVMValueRef, *const c_char) -> LLVMValueRef> = {
[INFO] [stdout]    |                         ---------------------------------------------------------------------------------------------- expected `HashMap<String, fn(*mut LLVMBuilder, *mut LLVMValue, ..., ...) -> ...>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 20 |         map.insert("u8".to_owned(), add_int);
[INFO] [stdout]    |         ---                         ------- this argument has type `fn(*mut LLVMBuilder, *mut LLVMValue, *mut LLVMValue, *const i8) -> *mut LLVMValue {add_int}`...
[INFO] [stdout]    |         |
[INFO] [stdout]    |         ... which causes `map` to have type `HashMap<String, fn(*mut LLVMBuilder, *mut LLVMValue, *mut LLVMValue, *const i8) -> *mut LLVMValue {add_int}>`
[INFO] [stdout] ...
[INFO] [stdout] 23 |         map
[INFO] [stdout]    |         ^^^ expected fn pointer, found fn item
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `HashMap<_, fn(_, _, _, _) -> _>`
[INFO] [stdout]               found struct `HashMap<_, fn(_, _, _, _) -> _ {add_int}>`
[INFO] [stdout]    = note: fn items are distinct from fn pointers
[INFO] [stdout]    = help: consider casting the fn item to a fn pointer: `add_int as fn(*mut LLVMBuilder, *mut LLVMValue, *mut LLVMValue, *const i8) -> *mut LLVMValue`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/maga-1e58755274626754.long-type-6637251937262256027.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/generation/util.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     static ref ADD_MAP: HashMap<String, fn(LLVMBuilderRef, LLVMValueRef, LLVMValueRef, *const c_char) -> LLVMValueRef> = {
[INFO] [stdout]    |                         ---------------------------------------------------------------------------------------------- expected `HashMap<String, fn(*mut LLVMBuilder, *mut LLVMValue, ..., ...) -> ...>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 20 |         map.insert("u8".to_owned(), add_int);
[INFO] [stdout]    |         ---                         ------- this argument has type `fn(*mut LLVMBuilder, *mut LLVMValue, *mut LLVMValue, *const i8) -> *mut LLVMValue {add_int}`...
[INFO] [stdout]    |         |
[INFO] [stdout]    |         ... which causes `map` to have type `HashMap<String, fn(*mut LLVMBuilder, *mut LLVMValue, *mut LLVMValue, *const i8) -> *mut LLVMValue {add_int}>`
[INFO] [stdout] ...
[INFO] [stdout] 23 |         map
[INFO] [stdout]    |         ^^^ expected fn pointer, found fn item
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `HashMap<_, fn(_, _, _, _) -> _>`
[INFO] [stdout]               found struct `HashMap<_, fn(_, _, _, _) -> _ {add_int}>`
[INFO] [stdout]    = note: fn items are distinct from fn pointers
[INFO] [stdout]    = help: consider casting the fn item to a fn pointer: `add_int as fn(*mut LLVMBuilder, *mut LLVMValue, *mut LLVMValue, *const i8) -> *mut LLVMValue`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/maga-ea0cc5c6a7b83c42.long-type-17415673343922447955.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]   --> src/generation/expressions/binary.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 token => return Err(CodeGenError::UnsupportedOperator),
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exp`
[INFO] [stdout]   --> src/generation/expressions/mod.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Expression::Call(exp) => {
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_exp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `body`
[INFO] [stdout]   --> src/generation/function.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let Some(body) = &function.body else {
[INFO] [stdout]    |              ^^^^ help: if this is intentional, prefix it with an underscore: `_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry`
[INFO] [stdout]   --> src/generation/function.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let entry =
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]   --> src/generation/expressions/binary.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 token => return Err(CodeGenError::UnsupportedOperator),
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stat`
[INFO] [stdout]   --> src/generation/statement.rs:15:31
[INFO] [stdout]    |
[INFO] [stdout] 15 |             Statement::Return(stat) => {}
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_stat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stat`
[INFO] [stdout]   --> src/generation/statement.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 |             Statement::Declaration(stat) => {}
[INFO] [stdout]    |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_stat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]  --> src/generation/statement.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |         context: &mut CodeGenContext,
[INFO] [stdout]   |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module`
[INFO] [stdout]   --> src/generation/statement.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         module: &mut Module,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function`
[INFO] [stdout]   --> src/generation/statement.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         function: &Function,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]   --> src/generation/statement.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         block: LLVMBasicBlock,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]  --> src/generation/statements/assignment.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |         context: &mut CodeGenContext,
[INFO] [stdout]   |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module`
[INFO] [stdout]   --> src/generation/statements/assignment.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         module: &mut Module,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function`
[INFO] [stdout]   --> src/generation/statements/assignment.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         function: &Function,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]   --> src/generation/statements/assignment.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         block: LLVMBasicBlock,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exp`
[INFO] [stdout]   --> src/generation/expressions/mod.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Expression::Call(exp) => {
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_exp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `body`
[INFO] [stdout]   --> src/generation/function.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let Some(body) = &function.body else {
[INFO] [stdout]    |              ^^^^ help: if this is intentional, prefix it with an underscore: `_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry`
[INFO] [stdout]   --> src/generation/function.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let entry =
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stat`
[INFO] [stdout]   --> src/generation/statement.rs:15:31
[INFO] [stdout]    |
[INFO] [stdout] 15 |             Statement::Return(stat) => {}
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_stat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stat`
[INFO] [stdout]   --> src/generation/statement.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 |             Statement::Declaration(stat) => {}
[INFO] [stdout]    |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_stat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]  --> src/generation/statement.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |         context: &mut CodeGenContext,
[INFO] [stdout]   |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module`
[INFO] [stdout]   --> src/generation/statement.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         module: &mut Module,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function`
[INFO] [stdout]   --> src/generation/statement.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         function: &Function,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]   --> src/generation/statement.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         block: LLVMBasicBlock,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]  --> src/generation/statements/assignment.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |         context: &mut CodeGenContext,
[INFO] [stdout]   |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module`
[INFO] [stdout]   --> src/generation/statements/assignment.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         module: &mut Module,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function`
[INFO] [stdout]   --> src/generation/statements/assignment.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         function: &Function,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]   --> src/generation/statements/assignment.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         block: LLVMBasicBlock,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ident`
[INFO] [stdout]    --> src/parser/expression.rs:173:31
[INFO] [stdout]     |
[INFO] [stdout] 173 |             Token::Identifier(ident) => Self::parse_ident(tokens),
[INFO] [stdout]     |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ident`
[INFO] [stdout]    --> src/parser/expression.rs:173:31
[INFO] [stdout]     |
[INFO] [stdout] 173 |             Token::Identifier(ident) => Self::parse_ident(tokens),
[INFO] [stdout]     |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/parser/function.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut r#type = Type::from_token_stream(tokens)?;
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/parser/function.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut r#type = Type::from_token_stream(tokens)?;
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parsing_state`
[INFO] [stdout]   --> src/parser/mod.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut parsing_state = ParsingState::Idle;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsing_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/parser/mod.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut parsing_state = ParsingState::Idle;
[INFO] [stdout]    |             ----^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parsing_state`
[INFO] [stdout]   --> src/parser/mod.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut parsing_state = ParsingState::Idle;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsing_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/parser/mod.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut parsing_state = ParsingState::Idle;
[INFO] [stdout]    |             ----^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `maga` (bin "maga") due to 1 previous error; 26 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `maga` (bin "maga" test) due to 1 previous error; 26 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "38ba9730e0b0a3d0e6683263827cabeed51681ddd702cb9d69740cfb25088c5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38ba9730e0b0a3d0e6683263827cabeed51681ddd702cb9d69740cfb25088c5a", kill_on_drop: false }`
[INFO] [stdout] 38ba9730e0b0a3d0e6683263827cabeed51681ddd702cb9d69740cfb25088c5a
